import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "@/assets/css/base.css"
import ElementUI from 'element-ui'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import 'element-ui/lib/theme-chalk/index.css'
// import 'babel-polyfill'
import apis from "@/api/api.js";
import "core-js/stable";
import "regenerator-runtime/runtime";
// import '@babel/polyfill';
import Es6Promise from 'es6-promise'
import mydetails from '@/components/Newdetails.vue'
Vue.component('mydetails', mydetails)
Vue.prototype.$api = apis
Es6Promise.polyfill()
Vue.use(ElementUI)
Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false
if (!window.Promise) {
  window.Promise = Promise;
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
